package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LLevelSon
 * @date 2021.07.08 15:14
 * @describe 子关卡表
 */
@TableName("l_level_son")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LLevelSon对象", description="子关卡表")
public class LLevelSon implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "level_son_id", type = IdType.AUTO)
    private Integer levelSonId;

    @TableField("level_id")
    private Integer levelId;

    @TableField("level_num")
    private Integer levelNum;

    @TableField("level_son_name")
    private String levelSonName;

    @TableField("level_fraction")
    private String levelFraction;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @TableField(exist = false)
    private String userId;

    @TableField(exist = false)
    private String userScore;

    @TableField(exist = false)
    private String state;

    @TableField(exist = false)
    private List<LLevelQuestions> levelQuestions;

    public List<LLevelQuestions> getLevelQuestions() {
        return levelQuestions;
    }

    public void setLevelQuestions(List<LLevelQuestions> levelQuestions) {
        this.levelQuestions = levelQuestions;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserScore() {
        return userScore;
    }

    public void setUserScore(String userScore) {
        this.userScore = userScore;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getLevelNum() {
        return levelNum;
    }

    public void setLevelNum(Integer levelNum) {
        this.levelNum = levelNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getLevelSonId() {
        return levelSonId;
    }

    public void setLevelSonId(Integer levelSonId) {
        this.levelSonId = levelSonId;
    }

    public Integer getLevelId() {
        return levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }

    public String getLevelSonName() {
        return levelSonName;
    }

    public void setLevelSonName(String levelSonName) {
        this.levelSonName = levelSonName;
    }

    public String getLevelFraction() {
        return levelFraction;
    }

    public void setLevelFraction(String levelFraction) {
        this.levelFraction = levelFraction;
    }

}
